home *** CD-ROM | disk | FTP | other *** search
/ Champak Vol C-14 / Vol C-14.iso / games / 716.swf / scripts / DefineButton2_766 / BUTTONCONDACTION on(release, keyPress Enter).as
Text File  |  2012-04-23  |  2KB  |  77 lines

  1. on(release, keyPress "<Enter>"){
  2.    if(password eq "metalzone")
  3.    {
  4.       stopAllSounds();
  5.       _root.gotoAndStop("metalzone");
  6.    }
  7.    else if(password eq "desierto")
  8.    {
  9.       stopAllSounds();
  10.       _root.gotoAndStop("desierto");
  11.    }
  12.    else if(password eq "volcano")
  13.    {
  14.       stopAllSounds();
  15.       _root.gotoAndStop("volcano");
  16.    }
  17.    else if(password eq "rocoso")
  18.    {
  19.       stopAllSounds();
  20.       _root.gotoAndStop("rocoso");
  21.    }
  22.    else if(password eq "espiral")
  23.    {
  24.       stopAllSounds();
  25.       _root.gotoAndStop("espiral");
  26.    }
  27.    else if(password eq "mazmorra")
  28.    {
  29.       stopAllSounds();
  30.       _root.gotoAndStop("mazmorra");
  31.    }
  32.    else if(password eq "laplaya")
  33.    {
  34.       stopAllSounds();
  35.       _root.gotoAndStop("laplaya");
  36.    }
  37.    else if(password eq "subtierra")
  38.    {
  39.       stopAllSounds();
  40.       _root.gotoAndStop("subtierra");
  41.    }
  42.    else if(password eq "sinagua")
  43.    {
  44.       stopAllSounds();
  45.       _root.gotoAndStop("sinagua");
  46.    }
  47.    else if(password eq "conagua")
  48.    {
  49.       stopAllSounds();
  50.       _root.gotoAndStop("conagua");
  51.    }
  52.    else if(password eq "xtreme")
  53.    {
  54.       stopAllSounds();
  55.       _root.gotoAndStop("xtreme");
  56.    }
  57.    else if(password eq "factory")
  58.    {
  59.       stopAllSounds();
  60.       _root.gotoAndStop("factory");
  61.    }
  62.    else if(password eq "centierra")
  63.    {
  64.       stopAllSounds();
  65.       _root.gotoAndStop("centierra");
  66.    }
  67.    else if(password eq "finaljoja")
  68.    {
  69.       stopAllSounds();
  70.       _root.gotoAndStop("finaljoja");
  71.    }
  72.    else
  73.    {
  74.       gotoAndStop(3);
  75.    }
  76. }
  77.